<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 *
 *
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package  		Module_Feed
 * @version 		$Id: display.class.php 4621 2012-09-12 05:34:34Z Raymond_Benc $
 */
class Survey_Component_Block_Sector_Interest extends Phpfox_Component
{
	/**
	 * Class process method wnich is used to execute this component.
	 */
	public function process()
	{
		$aCategories = phpfox::getService('survey')->getTotalInterest();		

                $this->template()->assign(array(
				'aItems' => $aCategories,
			)
		);
		$this->template()->assign(array(
				// 'sHeader' => Phpfox::getPhrase('shoutbox.shoutbox'),
				'sHeader' => Phpfox::getPhrase('survey.sector_you_may_interest'),
				
			)
		);
		return 'block';
	}

	public function clean()
	{
		$this->template()->clean(array(
				'sHeader',
				'aFeeds',
				'sBoxJsId'
			)
		);
	}
}

?>